<?php
if ($filas > 0){
    echo "<br><table align='center' class='informes' cellpadding='1' cellspacing='1' border='0'>";
    echo "<caption>".$titulo."</caption>";
    echo "<thead><tr ><th>A&ntilde;o</th><th>".$categoria."</th></tr></thead>";
    for($i = 0; $i < $filas; $i++){
        if($i%2==0) echo "<tr >";
        else  echo "<tr >";
        echo "<td style='text-align: center;'>".$anio[$i]."</td><td>".number_format($cant[$i],0,",",".")."</td></tr>";
    }
    echo "</table>";
}
?>
